<?php
setlocale(LC_ALL, 'zh_CN.utf-8');
header("Content-Type:text/html;charset=utf-8");

require_once 'class/log.class.php';


$logClass= new logClass();

$total=$logClass->getCount();



$data["total"] = $total;  

$items = $logClass->getAll();
$data["rows"] = $items;   
$json= json_encode($items); 
echo $json; 
?>